home *** CD-ROM | disk | FTP | other *** search
/ Sprite 1984 - 1993 / Sprite 1984 - 1993.iso / man / cmds.fmt / od.man < prev    next >
Encoding:
Text File  |  1989-10-05  |  3.9 KB  |  133 lines

  1.  
  2.  
  3.  
  4. OD                        User Commands                        OD
  5.  
  6.  
  7.  
  8. NNAAMMEE
  9.      od - octal, decimal, hex, ascii dump
  10.  
  11. SSYYNNOOPPSSIISS
  12.      oodd [ -format ] [ file ] [ [++]offset[..][bb] [label] ]
  13.  
  14. DDEESSCCRRIIPPTTIIOONN
  15.      _O_d displays _f_i_l_e, or its standard input, in one or more dump
  16.      formats as selected by the first argument.  If the first
  17.      argument is missing, --oo is the default.  Dumping continues
  18.      until end-of-file.
  19.  
  20.      The meanings of the format argument characters are:
  21.  
  22.      aa    Interpret bytes as characters and display them with
  23.           their ACSII names.  If the pp character is given also,
  24.           then bytes with even parity are underlined.  The PP
  25.           character causes bytes with odd parity to be under-
  26.           lined.  Otherwise the parity bit is ignored.
  27.  
  28.      bb    Interpret bytes as unsigned octal.
  29.  
  30.      cc    Interpret bytes as ASCII characters.  Certain non-
  31.           graphic characters appear as C escapes: null=\0,
  32.           backspace=\b, formfeed=\f, newline=\n, return=\r,
  33.           tab=\t; others appear as 3-digit octal numbers.  Bytes
  34.           with the parity bit set are displayed in octal.
  35.  
  36.      dd    Interpret (short) words as unsigned decimal.
  37.  
  38.      ff    Interpret long words as floating point.
  39.  
  40.      hh    Interpret (short) words as unsigned hexadecimal.
  41.  
  42.      ii    Interpret (short) words as signed decimal.
  43.  
  44.      ll    Interpret long words as signed decimal.
  45.  
  46.      oo    Interpret (short) words as unsigned octal.
  47.  
  48.      ss[n] Look for strings of ascii graphic characters, ter-
  49.           minated with a null byte.  _N specifies the minimum
  50.           length string to be recognized.  By default, the
  51.           minimum length is 3 characters.
  52.  
  53.      vv    Show all data. By default, display lines that are
  54.           identical to the last line shown are not output, but
  55.           are indicated with an ``*'' in column 1.
  56.  
  57.      ww[n] Specifies the number of input bytes to be interpreted
  58.           and displayed on each output line. If ww is not speci-
  59.           fied, 16 bytes are read for each display line.  If _n is
  60.  
  61.  
  62.  
  63. Sprite v1.0              April 29, 1985                         1
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. OD                        User Commands                        OD
  71.  
  72.  
  73.  
  74.           not specified, it defaults to 32.
  75.  
  76.      xx    Interpret (short) words as hexadecimal.
  77.  
  78.      An upper case format character implies the long or double
  79.      precision form of the object.
  80.  
  81.      The _o_f_f_s_e_t argument specifies the byte offset into the file
  82.      where dumping is to commence.  By default this argument is
  83.      interpreted in octal.  A different radix can be specified;
  84.      If ``..'' is appended to the argument, then _o_f_f_s_e_t is inter-
  85.      preted in decimal.  If _o_f_f_s_e_t begins with ``xx'' or ``00xx'',
  86.      it is interpreted in hexadecimal.  If ``bb'' (``BB'') is
  87.      appended, the offset is interpreted as a block count, where
  88.      a block is 512 (1024) bytes.  If the _f_i_l_e argument is omit-
  89.      ted, an _o_f_f_s_e_t argument must be preceded by ``++''.
  90.  
  91.      The radix of the displayed address will be the same as the
  92.      radix of the _o_f_f_s_e_t, if specified; otherwise it will be
  93.      octal.
  94.  
  95.      _L_a_b_e_l will be interpreted as a pseudo-address for the first
  96.      byte displayed.  It will be shown in ``()'' following the
  97.      file offset.  It is intended to be used with core images to
  98.      indicate the real memory address.  The syntax for _l_a_b_e_l is
  99.      identical to that for _o_f_f_s_e_t.
  100.  
  101. SSEEEE AALLSSOO
  102.      adb(1)
  103.  
  104. BBUUGGSS
  105.      A file name argument can't start with ``+''.  A hexadecimal
  106.      offset can't be a block count.  Only one file name argument
  107.      can be given.
  108.  
  109.      It is an historical botch to require specification of
  110.      object, radix, and sign representation in a single character
  111.      argument.
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129. Sprite v1.0              April 29, 1985                         2
  130.  
  131.  
  132.  
  133.